<ion-view view-title="更多物流公司">
    <ion-nav-buttons side="left">
        <button class="button back-button buttons icon ion-ios-arrow-left button-clear header-item" nav-direction="back" ng-click="myGoBack()">返回</button>
    </ion-nav-buttons>
    <ion-content>
        <ion-refresher
                pulling-text="下拉刷新..."
                on-refresh="doRefreshAll()">
        </ion-refresher>
        <div ng-if="showloading" style="margin-top:60px; text-align: center">
            <ion-spinner icon="ios" style="height: 60px; width: 60px;"></ion-spinner>
        </div>
        <div ng-if="showloading == false" class="content">
            <div class="bar bar-header item-input-inset">
                <label class="item-input-wrapper">
                    <i class="icon ion-ios-search placeholder-icon"></i>
                    <input type="search" placeholder="请输入公司名称或发货站点" ng-model="search.contentAll" ng-change="searchAll(search.contentAll)">
                </label>
            </div>
            <h5 ng-if="allzdData==''" style="color: #69717d;text-align: center;margin-top: 50px;">搜索更多物流公司</h5>
            <ul class="list" ng-if="allzdData!=''">
                <li class="item" collection-repeat="allzd in allzdData" ng-click="chooseCompany()">
                    <div style="height: 30px;">
                        <i  style="margin-left: 10px;font-size: 16px;">{{allzd.dwmc}}</i>
                        <i class="ion-plus-round" ng-click="addCompany(allzd,3);$event.stopPropagation();" style="font-size: 13px;float: right;width: 30px;height: 50px;"></i>
                        <i ng-if="allzd.zddh!=''" class="ion-ios-telephone balanced" ng-click="callPhone(allzd.zddh);$event.stopPropagation();" style="font-size: 13px;float: right;margin-right: 20px;">{{allzd.zddh}}</i>
                    </div>
                    <div>
                        <i  style="margin-left: 10px;font-size: 13px;">{{allzd.zdmc}}</i><i class="ion-minus" style="font-size: 16px"></i><i class="ion-arrow-right-c" style="font-size: 16px"></i>
                        <i ng-if="allzd.xl!=''"  style="font-size: 13px;">{{allzd.xl}}</i>
                        <i ng-if="allzd.xl==''"  style="font-size: 13px;">暂无其他线路</i>
                    </div>
                </li>
            </ul>
        </div>
        <ion-infinite-scroll   on-infinite="loadMoreAll()"  distance="1%" ng-if="hasNextPageAll()"></ion-infinite-scroll>
    </ion-content>
</ion-view>